﻿/*
 * @Autor: PK
 * @Date: 2021/12/22 20:58:SS
 */

using System.Collections.Generic;
using System.Linq;
using ShkSimulation.core.optimization.interfaces;

namespace ShkSimulation.core.optimization.impl {

	public class SumEvaluationStrategy: ResultEvaluationStrategy {

		public double Evaluate(Dictionary<string, double> targetVariables) {
			return targetVariables.Values.Sum();
		}

	}

}